package com.top10.service.impl;

import com.top10.entity.TbCommentImage;
import com.top10.mapper.TbCommentImageMapper;
import com.top10.service.ITbCommentImageService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ellen
 * @since 2018-09-27
 */
@Service
public class TbCommentImageServiceImpl extends ServiceImpl<TbCommentImageMapper, TbCommentImage> implements ITbCommentImageService {
	@Autowired
	private TbCommentImageMapper tbCommentImageMapper;

	@Override
	public Integer insertOne(TbCommentImage tbCommentImage)throws Exception{
		return tbCommentImageMapper.insert(tbCommentImage);
	}

	
}
